//
//  DiscoverTableViewCell.h
//  Wifi
//
//  Created by srulos on 2017/6/12.
//  Copyright © 2017年 srulos. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FLAnimatedImageView.h"
#import "LoginHeader.h"

@protocol DiscoverTableViewCellDelegate <NSObject>
@required
-(void)onShowImage:(NSData*)imageData isGif:(BOOL)isGif;
@end

@class KrVideoPlayerController;
@interface DiscoverTableViewCell : UITableViewCell
{
    KrVideoPlayerController * m_krVideoPlayerController;
}

@property (weak, nonatomic) IBOutlet UILabel *m_label_title;
@property (weak, nonatomic) IBOutlet FLAnimatedImageView *m_imageView;
@property (weak, nonatomic) IBOutlet UIButton *m_btn_playVideo;
@property (weak, nonatomic) IBOutlet UIButton *m_btn_full_screen_image;
@property (weak, nonatomic) IBOutlet UILabel *m_label_background_mask;
@property (weak, nonatomic) IBOutlet UIImageView *m_imageView_cell_tag;

@property (nonatomic,retain) NSString * m_thumbImageUrl;
@property (nonatomic,retain) NSString * m_downloadUrl;
@property (nonatomic, weak) id<DiscoverTableViewCellDelegate> delegate;
//@property (nonatomic,strong) GADBannerView * gadBannerView;
//@property (nonatomic,strong) GADNativeExpressAdView * nativeExpressAdView;
- (void)setup:(NSMutableDictionary*)dic;
- (IBAction)onPlayVideo:(id)sender;
- (IBAction)onFullScreenImage:(id)sender;
- (IBAction)onSystemShare:(id)sender;

@end
